package com.chart.chart.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chart.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 我的生成：图表 ChartConfigsUser
 * 
 * @author ruoyi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChartConfigsUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /** 用户id */
    private Long userId;

    /** 配置id */
    private Long configId;


    /** 图表类型 */
//    private String chartType;

    /** 图表键值 */
    private String chartValue;

    /** 图表名称 */
    private String chartName;

    /** 图表图层 */
    private String chartLayer;

    /** 封面 */
    private String chartCover;

    /** 1:图表  2：大屏 */
    private Integer chartModeType;


    /** 文件夹id */
    private Long fileId;

    /** 参数键名 */
    private Integer chartLegend;

    /** 技术领域id */
    private Long technologyId;

    private Integer isFree;



    @TableField(exist = false)
    private List<Long> ids;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String startTime;

    @TableField(exist = false)
    private String endTime;

    @TableField(exist = false)
    private String templateUrl;



    /** 参数键名 */
    @TableField(exist = false)
    private String technologyName;

}
